/*
 * ImagenesSource.java
 *
 * Created on 27 de octubre de 2006, 11:14 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.computec.core.imagenes.source;

import com.src.computec.radar.base.source.CoreSource;
import java.util.ResourceBundle;

/**
 *
 * @author jlperea
 */
public class ImagenesSource 
{
    protected static ImagenesSource imagenesSource;
    
    private static ResourceBundle coreImagenesSetup;
    private static ResourceBundle coreImagenesErrorSetup;    
    
    /** Creates a new instance of PathImage */
    protected ImagenesSource() {        
        coreImagenesSetup = ResourceBundle.getBundle("CoreImagenesSetup");
        coreImagenesErrorSetup = ResourceBundle.getBundle("CoreImagenesErrorSetup");        
    }

    public static ImagenesSource getInstance() {
        if (imagenesSource == null) {
            imagenesSource = new ImagenesSource();
        }
        return imagenesSource;
    }

    public String getCoreImagenesSetupKey(String key) {
        return coreImagenesSetup.getString(key); 
    }
   
    public String getCoreImagenesErrorSetupKey(String key) {
        return coreImagenesErrorSetup.getString(key); 
    }    
}
